// 关注状态
enum Agree{
  hasAgree,
  noAgree,
}

// 数字转enum
class IntToAgree {
  static Agree toAgree(int numData){
    if(numData == 0){
      return Agree.noAgree;
    }
    return Agree.hasAgree;
  }
}

